
- a pattern for programming I first learned about in 📖 Clean Code
- means:
- do not have getters that also set something
- do not have setters that also get something
-
there is nuance here, for example with HTTP requests, which often do something and return something
- 📖 Clean Code generally recommends throwing exceptions instead of returning error codes — which is an idea I need to explore more
-
it reminds me of the idea that ~ you can have side effects in a functional paradigm, just define system borders and contain them